babl: add ~ variants to gray color models
authorØyvind Kolås <pippin@gimp.org>
Wed, 20 Jun 2018 18:43:53 +0000 (20:43 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 20 Jun 2018 18:50:04 +0000 (20:50 +0200)
commite3fc1d0f8c90e8312ba67541eebde61abab934bf
treecfe304a6301fbb5971261d5e6aed77ad6a91411b
parentb2b7c1ecd6b724374be57a3ea3871ffe36f1e6cd
babl: add ~ variants to gray color models

We do not add premultiplied sRGB trc variants even if this exists for RGB
since it is the type of premultiplied alpha cairo expects. The less code
that does non-linear compositing the better, excluding some possibilities
also reduces the combinatorial overhead of finding conversion paths in babl.
babl/babl-ids.h
babl/base/formats.c
babl/base/model-gray.c